package com.xbongbong.distributor.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.paas.toolbox.wrap.QueryIgnore;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 经销商档案批量删除
 * @author xinpeng.jiang
 * @date 2021/1/5 15:02
 * @version 1.0
 * @since V1.0
 */
@Getter
@Setter
@ToString
public class DistributorDeleteBatchDTO extends BaseDTO {

    private static final long serialVersionUID = 7163893409172519968L;

    @NotNull(message = "{dto.msg.customerDeleteBatch.dataIdList.NotNull}")
    private List<Long> dataIdList;

    /**
     * 1 为单个删除 0 为 批量删除 其他情况默认批量删除处理
     */
    private Integer singleFlag;
}
